package config;

import com.woniuxy.springboot02javaconfig.pojo.User;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class JavaConfig2 {
    @Bean
    public User getUserBean4(){
        return new User("赵六");
    }
}
